//
//  MCWarehouseListViewCellTableViewCell.m
//  ERP
//
//  Created by QA on 15/9/1.
//  Copyright (c) 2015年 ShangHai HaoLei Software Technology Co., Ltd. All rights reserved.
//

#import "MCWarehouseListViewCell.h"

@implementation MCWarehouseListViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"MCWarehouseListViewCell" owner:self options:nil];
        self = [topLevelObjects objectAtIndex:0];
        self.opaque = YES;
        [self initLayoutSubviews];
    }
    return self;
}

- (void)initLayoutSubviews
{
    self.lineView = [[UIView alloc] initWithFrame:CGRectMake(46, 59.5, SuperWidth - 46, 0.5)];
    self.lineView.backgroundColor = [UIColor colorWithWhite:0.88 alpha:1];
    [self.contentView addSubview:self.lineView];
    
    //更改进度条高度
    CGAffineTransform transform = CGAffineTransformMakeScale(1.0f, 2.8f);
    self.progressLabel.transform = transform;
    
    self.progressLabel.layer.cornerRadius = 2.5;//圆角
    self.progressLabel.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
